export const filterType = [
  'lowpass',
  'highpass',
  'lowshelf',
  'highshelf',
  'peaking',
  'allpass',
] as const;

export type FilterType = (typeof filterType)[number];

export interface FilterOptions {
  filterType: FilterType;
  frequency: number;
  q: number;
  gain: number;
}

export interface FilterOptionsWithId extends FilterOptions {
  id: string;
}
